package com.ohs.service;

import com.ohs.pojo.Product;
import com.ohs.utils.ResponseResult;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ProService {
     //查询花瓶列表
     String findVaseProList(Model model);

     /* <!--三表查询（商品表、评价表、用户表）-->*/
     String findProDetail(Model model, Integer proId);

     //查所有商品
     String findAllPro(Model model, HttpSession session, String param);

     //加入购物车
     ResponseResult addShopCar(Product pro, Integer quantity, HttpSession session);

     //模糊搜索
     List<Product> findProByName(String proName, Model model);

     //查找创意家居商品
     String findIdeaPro(Model model, HttpSession session, String param);

     String findSoftDecoration(Model model, HttpSession session, String param);

     String findPerfume(Model model, HttpSession session, String param);

}